package com.t.bricks.bussiness.db.dao.loginuser;

import com.t.bricks.bussiness.db.dao.common.BaseDao;
import com.t.bricks.model.MsgEmity;

public interface LoginUserDao<T> extends BaseDao<T>  {
	
	/**
	 * 修改密码
	 * @param uId
	 * @param sOldPass
	 * @param sNewPass
	 * @param iVersion
	 * @param sModifieder
	 * @return
	 */
	MsgEmity editPass(String uId, String sOldPass, String sNewPass,
			int iVersion, String sModifieder, String sOwner);
	
	/**
	 * 根据用户编号设置用户类型
	 * @param uId 用户编号
	 * @param sType 用户类型
	 * @return
	 */
	MsgEmity editUserType(String uId, Integer sType);
	
}
